package com;

import com.config.RestTemplateConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * Description: 订单类主程序类
 *
 * @Autor: Rolin
 * datetime: 04-23-19:43
 */
@EnableEurekaClient
@SpringBootApplication
@RibbonClient(name = "PAYMENT-CLIENT",configuration = RestTemplateConfig.class)
public class OrderMainBoot {
    public static void main(String[] args) {
        SpringApplication.run(OrderMainBoot.class,args);
    }
}
